package com.zhiyou100.model;

import lombok.Getter;
import lombok.Setter;

public class Room {
    private Integer id;

    private String roomnum;

    private String floor;

    private Double price;

    private String status;

    private String imageurl;

    private String peoplenum;

    private String type;

    @Setter@Getter
    private String startTime;

    @Setter@Getter
    private String endTime;

    @Override
    public String toString() {
        return "Room{" +
                "id=" + id +
                ", roomnum='" + roomnum + '\'' +
                ", floor='" + floor + '\'' +
                ", price=" + price +
                ", status='" + status + '\'' +
                ", imageurl='" + imageurl + '\'' +
                ", peoplenum='" + peoplenum + '\'' +
                ", type='" + type + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoomnum() {
        return roomnum;
    }

    public void setRoomnum(String roomnum) {
        this.roomnum = roomnum == null ? null : roomnum.trim();
    }

    public String getFloor() {
        return floor;
    }

    public void setFloor(String floor) {
        this.floor = floor == null ? null : floor.trim();
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getImageurl() {
        return imageurl;
    }

    public void setImageurl(String imageurl) {
        this.imageurl = imageurl == null ? null : imageurl.trim();
    }

    public String getPeoplenum() {
        return peoplenum;
    }

    public void setPeoplenum(String peoplenum) {
        this.peoplenum = peoplenum == null ? null : peoplenum.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }
}